package com.crm.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.crm.entity.HomePageChart;

public interface HomePageChartDao extends JpaRepository<HomePageChart, String>, JpaSpecificationExecutor<HomePageChart>{

	/*
	 * 查询flag为TRUE的轮播图信息
	 */
	List<HomePageChart> findByFlag(Boolean flag);

	
}
